package com.example.forum.model;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Message {
    private Long id;

    private Long postUserId;

    private Long receiveUserId;

    private String content;

    private Byte state;

    private Byte deleteState;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    // 关联发送者对象
    private User postUser;
}